//
//  LZYFileTool.h
//  LZYDownLoaderDemo
//
//  Created by bjhj on 17/4/5.
//  Copyright © 2017年 刘占宇个人项目. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LZYFileTool : NSObject

/**
 如果目录不存在,则创建目录

 @param path 路径
 @return 是否穿件成功
 */

+ (BOOL)createDirectoryIfNotExisits:(NSString *)path;

+ (BOOL)isExistsWithFile: (NSString *)filePath;

+ (long long)fileSizeWithPath: (NSString *)filePath;

+ (void)moveFile: (NSString *)fromPath toFile: (NSString *)toPath;

+ (void)removeFileAtPath: (NSString *)filePath;

@end
